<template>
    <div class="container">
        <ul>
            <li>
                <router-link to="/about">About</router-link>
            </li>
            <li>
                <router-link to="/home">Home</router-link>
            </li>
        </ul>
        <!--路由对应的页面展示区域-->
        <div>
            <router-view></router-view>
        </div>
    </div>
</template>

<script>
    import {Toast} from 'mint-ui'
    export default {
        name: "App",
        methods:{
            handleClick () {
                Toast('临时组件，全局组件')
            }
        }
    }
</script>

<style lang="stylus" scoped>
.mt_btn
    width:100%
</style>